/*
 * Copyright (c) 2012 Sqpoll.
 * All rights reserved.
 */
package com.sqpoll.survey.model;

import java.io.Serializable;
import java.util.Date;

/**
 * This class is a model for survey template.
 * 
 * @author Younggue Bae
 */
@SuppressWarnings("serial")
public class Template implements Serializable {

	private int templateId;
	private int surveyId;
	private String country;
	private String language;
	private String category;
	private String title;
	private String description;
	private String instruction;
	private String type;
	private String options;
	private boolean isFree;
	private double price;
	private String tags;
	private String thumbnailSmallImage;
	private String thumbnailLargeImage;
	private String style;
	private int usageCount;
	private String createUserId;
	private String updateUserId;
	private String deleteUserId;
	private Date createDate;
	private Date updateDate;
	private Date deleteDate;
	private boolean isDeleted;
	
	public int getTemplateId() {
		return templateId;
	}
	public void setTemplateId(int templateId) {
		this.templateId = templateId;
	}
	public int getSurveyId() {
		return surveyId;
	}
	public void setSurveyId(int surveyId) {
		this.surveyId = surveyId;
	}
	public String getCountry() {
		return country;
	}
	public void setCountry(String country) {
		this.country = country;
	}
	public String getLanguage() {
		return language;
	}
	public void setLanguage(String language) {
		this.language = language;
	}
	public String getCategory() {
		return category;
	}
	public void setCategory(String category) {
		this.category = category;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getInstruction() {
		return instruction;
	}
	public void setInstruction(String instruction) {
		this.instruction = instruction;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getOptions() {
		return options;
	}
	public void setOptions(String options) {
		this.options = options;
	}
	public boolean isFree() {
		return isFree;
	}
	public void setFree(boolean isFree) {
		this.isFree = isFree;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public String getTags() {
		return tags;
	}
	public void setTags(String tags) {
		this.tags = tags;
	}
	public String getThumbnailSmallImage() {
		return thumbnailSmallImage;
	}
	public void setThumbnailSmallImage(String thumbnailSmallImage) {
		this.thumbnailSmallImage = thumbnailSmallImage;
	}
	public String getThumbnailLargeImage() {
		return thumbnailLargeImage;
	}
	public void setThumbnailLargeImage(String thumbnailLargeImage) {
		this.thumbnailLargeImage = thumbnailLargeImage;
	}
	public String getStyle() {
		return style;
	}
	public void setStyle(String style) {
		this.style = style;
	}
	public int getUsageCount() {
		return usageCount;
	}
	public void setUsageCount(int usageCount) {
		this.usageCount = usageCount;
	}
	public String getCreateUserId() {
		return createUserId;
	}
	public void setCreateUserId(String createUserId) {
		this.createUserId = createUserId;
	}
	public String getUpdateUserId() {
		return updateUserId;
	}
	public void setUpdateUserId(String updateUserId) {
		this.updateUserId = updateUserId;
	}
	public String getDeleteUserId() {
		return deleteUserId;
	}
	public void setDeleteUserId(String deleteUserId) {
		this.deleteUserId = deleteUserId;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public Date getUpdateDate() {
		return updateDate;
	}
	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}
	public Date getDeleteDate() {
		return deleteDate;
	}
	public void setDeleteDate(Date deleteDate) {
		this.deleteDate = deleteDate;
	}
	public boolean isDeleted() {
		return isDeleted;
	}
	public void setDeleted(boolean isDeleted) {
		this.isDeleted = isDeleted;
	}
	
	@Override
	public String toString() {
		return "Template [templateId=" + templateId + ", surveyId=" + surveyId + ", country=" + country + ", language="
				+ language + ", category=" + category + ", title=" + title + ", description=" + description + ", instruction="
				+ instruction + ", type=" + type + ", options=" + options + ", isFree=" + isFree + ", price=" + price
				+ ", tags=" + tags + ", thumbnailSmallImage=" + thumbnailSmallImage + ", thumbnailLargeImage="
				+ thumbnailLargeImage + ", style=" + style + ", usageCount=" + usageCount + ", createUserId=" + createUserId
				+ ", updateUserId=" + updateUserId + ", deleteUserId=" + deleteUserId + ", createDate=" + createDate
				+ ", updateDate=" + updateDate + ", deleteDate=" + deleteDate + ", isDeleted=" + isDeleted + "]";
	}
	
}
